:host {
  display: block;
  width: 100%;
  height: 100%;
  --split-background-color: rgba(0, 0, 0, 0.1);

  .ibz-split-panel {
    position: relative;
    overflow: hidden;
  }

  .ibz-split-mask {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .ibz-split-panel-wrapper {
    position: relative;
    display: flex;
    height: 100%;
    overflow: hidden;

    .dividing-line {
      position: absolute;
    }
  }

  .ibz-split-panel-wrapper.horizontal {
    .ibz-split-panel.left {
      flex-shrink: 0;
      border-right: 1px solid var(--split-background-color);
    }

    .ibz-split-panel.right {
      flex-grow: 1;
    }

    .ibz-split-panel {
      height: 100%;
    }

    .dividing-line {
      width: 6px;
      height: 100%;
      margin-left: -3px;
      z-index: 1;
      touch-action: none;
    }
  }

  .ibz-split-panel-wrapper.vertical {
    flex-direction: column;

    .ibz-split-panel.top {
      flex-shrink: 0;
      border-bottom: 1px solid var(--split-background-color);
    }

    .ibz-split-panel.bottom {
      flex-grow: 1;
    }

    .ibz-split-panel {
      width: 100%;
    }

    .dividing-line {
      width: 100%;
      height: 6px;
      margin-top: -3px;
      z-index: 1;
      touch-action: none;
    }
  }
}
